package com.etoak.entity;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class Cart {

    @NotNull(message = "dishesId不能为空")
    private Integer dishesId;

    @NotBlank(message = "dishName不能为空")
    private String dishName;

    @NotNull(message = "count不能为空")
    private Integer count;
}
